From 1c56cb4927d64e9aa578cd40dee0d908006dc6b9 Mon Sep 17 00:00:00 2001 From: Samuel Zeter Date: Wed, 21 May 2025 10:49:48 +1000 Subject: [PATCH] tests: remove unused import Fixes: warning: unused import: `with_procspawn_tempdir::with_procspawn_tempdir` --> src/test.rs:11:9 | 11 | pub use with_procspawn_tempdir::with_procspawn_tempdir; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module --> src/insttestmain.rs:9:1 | 9 | mod test; | ^^^^^^^^^ = note: `#[warn(unused_imports)]` on by default --- tests/inst/src/test.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/inst/src/test.rs b/tests/inst/src/test.rs index 9fe042f3..9eafc561 100644 --- a/tests/inst/src/test.rs +++ b/tests/inst/src/test.rs @@ -8,8 +8,6 @@ use std::time; use anyhow::{bail, Context, Result}; use rand::Rng; -pub use with_procspawn_tempdir::with_procspawn_tempdir; - // HTTP Server deps use futures_util::future; use hyper::service::{make_service_fn, service_fn}; -- 2.30.2